﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ThinhTien.Models;

namespace ThinhTien.Web.Controllers
{
    public class CartController : Controller
    {
        //
        // GET: /Cart/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult CheckAccount()
        {
            return View();
        }

        [HttpPost]
        public ActionResult CheckAccount(UserViewModel model)
        {
            return RedirectToAction("Payment", "Cart");
        }

        public ActionResult Payment()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Payment(PaymentViewModel model)
        {
            return RedirectToAction("Payment", "Confirm");
        }

        public ActionResult Confirm()
        {
            return View();
        }
    }
}
